cmake_minimum_required(VERSION 3.14)
project(summer)
set(CMAKE_CXX_STANDARD 17)

message(STATUS CURRENT SYSTEM:${CMAKE_SYSTEM_NAME})
set(PARENT_SOURCE_PATH ${PROJECT_SOURCE_DIR})
set(PARENT_OUTPUT_PATH ${PROJECT_BINARY_DIR})
set (EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR})
set (LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)

message(编译后可执行程序目录: ${EXECUTABLE_OUTPUT_PATH})
message(编译后库程序文件目录: ${LIBRARY_OUTPUT_PATH})

add_subdirectory(src)
add_subdirectory(gtest)